<script setup>
import { h } from 'vue'
import Dropdown from '@/components/Dropdown/Dropdown.vue'
import Button from '@/components/Button/Button.vue'
const options = [
  { key: 1, lable: h('b', 'this is bold') },
  { key: 2, lable: 'item2', disabled: true },
  { key: 3, lable: 'item3', divided: true },
  { key: 4, lable: 'item4' }
]
</script>
<template>
<div class="basic block">
  <Dropdown 
    placement="bottom" 
    :menuOptions="options"
  >
  <Button type="primary"> Hover 下拉菜单 </Button>
  </Dropdown>
</div>
</template>
<style>
.vp-doc .vitepress-demo-preview-preview ul, .vp-doc .vitepress-demo-preview-preview  ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

</style>